package com.yunxin.admin.system.infra.persistence.converter;

import com.yunxin.admin.system.domain.model.log.Log;
import com.yunxin.admin.system.infra.persistence.entity.SysLogDO;
import org.mapstruct.Mapper;

/**
 * @author zero°
 * @since 2023-07-11
 */
@Mapper(componentModel = "spring")
public interface LogConverter {
    /**
     * entity 转 do
     * @param entity entity
     * @return SysLogDO
     */
    SysLogDO fromLog(Log entity);
}
